package ch14_strategy.base;

/**
 * 扩展性改造--策略模式
 *
 * @author guodd
 * @version 1.0
 * @since 1.8
 */
public class MainTest {
    public static void main(String[] args) {
        Cat[] a = {new Cat(1, 2), new Cat(4, 5)};
        DataSorter.sort(a);
        DataSorter.show(a);
    }
}
